#app{
  display: flex;
  position: fixed;  
  flex-direction: row;
  top:0px;
  left:0px;
  width: 100%;
  height:100%;
}
.button{
  border:1px solid #ddd;
  border-radius: 4px;
}
.button:hover{
  background: #eee;
  border:1px solid #5d80e2;
}

textarea{
  border-radius: 4px;  
  border:1px solid #ddd;
  padding:4px;
}
textarea:focus{
  outline: none!important;
}

#app>ul.navbar{
  display: flex;
  flex-direction: column;
  padding: 8px;
  width:120px;
  height:100%;
  border-right: 1px solid #eee;  
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 8px;
}

#app>ul.navbar>li{
  padding:4px 8px 4px 8px;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  list-style: none;
  line-height: 200%;
}
#app>ul.navbar>li:hover{
  background-color: rgb(0, 117, 152);
  color:white;
}
#app>ul.navbar>li.selected{
  background-color: rgb(0, 117, 152);
  color:white;
}

button:focus{
  outline: none!important;
}

#app>.tabs{
  position: relative;
  flex-grow: 1;
  background: #fafafa;
}

#app>.tabs>.tab{
  position: absolute;
  padding:12px;
  top:0px;
  left:0px;
  width: 100%;
  height:100%;
  display: none;
  box-sizing: border-box;
  overflow: auto;
}
#app>.tabs>.tab.selected{
  display:block;
}

input{
  padding:6px;
}
.speed-button{
  background: #fafafa;
  border:1px solid #ddd;

}
.speed-button:hover{
  background: #eee;
  border:1px solid #5d80e2;
}


.tips{
  background-color: #fffcda;
  border-left: 2px solid rgb(253, 138, 6);
  box-sizing: border-box;
  padding: 8px;
  margin:4px;
}


table.projects-list{
  width: 100%;
  border:1px solid #eee;
  margin: 8px;  
}

table.projects-list > thead > tr {
  background-color: #eaeaea;

}
table.projects-list > thead > tr > td{
  padding:8px;
  font-weight: bold;
}

/* 无效 */
input.invalid{
  border: 1px solid red;
  position: relative;
}
input.invalid:focus{
  border: 1px solid red;
  outline: none;
}

input:focus{
  outline: none;
}
input.invalid::after{
  position: absolute;
  background: red;
  content: ' ! ';
  color:white;
  top:0px;
  left:100%;
  z-index: 999;
}
 

.panel{
  position: relative;
  padding:8px;
  margin: 8px;
  box-sizing: border-box;
  background-color: #eaeaea;
}